@font-face {
  font-family: 'iconfont';
  src: url('http://at.alicdn.com/t/font_1461648216_8530145.eot'); /* IE9*/
  src: url('http://at.alicdn.com/t/font_1461648216_8530145.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('http://at.alicdn.com/t/font_1461648216_8530145.woff') format('woff'), /* chrome、firefox */
  url('http://at.alicdn.com/t/font_1461648216_8530145.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('http://at.alicdn.com/t/font_1461648216_8530145.svg#iconfont') format('svg'); /* iOS 4.1- */
}



.iconfont{font-family:"iconfont";
  font-size:16px;font-style:normal;}


* {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
}

a {
  color: #000000;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

.navibar {
  background-color: #00F5C4;
  height: 50px;
}

.contacts-container {
  position: fixed;
  top: 50px;
  left: 0;
  width: 230px;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.left-space-holder {
  height: 2000px;
  width: 200px;
  overflow: hidden;
  float: left;
}

.contacts-titlebar {
  background-color: #00A397;
  color: #ffffff;
  height: 30px;
}

.custom-item {
  height: 30px;
  width: 100%;
  border-bottom: 1px solid grey;
  padding-top: 5px;
}

/*::selection {
  background:#d3d3d3;
  color:#555;
}

::-moz-selection {
  background:#d3d3d3;
  color:#555;
}

::-webkit-selection {
  background:#d3d3d3;
  color:#555;
}*/

.custom-name {
  width: 20px;
  text-overflow: ellipsis;
  margin-left: 20px;
}

.custom-status {
  display: inline;
  width: 6px;
  height: 6px;
  position: absolute;
  margin-top: 10px;
  background-color: grey;
}

.custom-status.waiting {
  background-color: limegreen;
}

.custom-status.chating {
  background-color: yellow;
}


.chat-session-list-container {
  position: fixed;
  left: 200px;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
}

.chat-session {
  display: inline-block;
  margin: 5px;
  width: calc((100% - 200px) / 4 - 10px);
  height: 300px;
  border: 1px solid;
}

.chat-session.active {
  background-color: limegreen;
}

.chat-session-leave {
  background-color: red;
}

.chat-session.active, .chat-session-leave {
  display: inline-block;

}


.chat-panel {
  width: 300px;
  height: 300px;
  margin: 5px;
  background-color: #f7f7f7;
  display: inline-block;
  border: 1px solid #007A62;
  border-radius: 2px;
  -webkit-filter: grayscale(80%);
}

.chat-panel.active {
  -webkit-filter: grayscale(0%);
  background-color: white;
}

.chat-panel-container {
  height: 325px;
  overflow: auto;
  overflow-y: hidden;
  white-space: nowrap;
}


.chating-titlebar {
  background-color: #007A62;
  color: #EBFFFB;
  height: 25px;
}

.message-board {
  max-width: 300px;
  border-color: rgb(175, 175, 175);
  overflow-y: scroll;
  height: 275px;
}

.message-in, .message-out {
   width: 200px;
   word-wrap: break-word;
   white-space: normal;
   padding: 3px 5px;
   font-size: 17px;
   margin-bottom: 2px;
}

.message-in {
  float: left;
  background-color: #B0E6E3;
}

.chat-panel .active.message-in {

}

.message-out {
  float: right;
  background-color: #E6FFD1;
}

.timestamp {
  font-size: 10px;
  color: #4F4F4F;
}

.input-container {
  height: 40px;
  margin: auto;
  margin-left: 200px;
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}


.text-input {
  border-radius: 5px;
  border: 1px solid darkslategrey;
  width: 300px;
  height: 25px;
  font-size: 17px;
  padding: 3px;
}

.send-button {
  border: none;
  border-radius: 3px;
  width: 50px;
  height: 30px;
  background-color: forestgreen;
  color: #ffffff;
}

.close-chat-panel {
  float: right;
  color: #ffffff;
}

.input-operate-board {
}

.operate-bar {
  position: absolute;
  left: 100px;
}

.img-button-container, .file-button-container, .text-board {
  display: inline-block;
}

.img-button-container i, .file-button-container i {
  font-size: 25px;
}

.text-board {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  width: 400px;
  height: 30px;
  left: 0;
  right: 0;
}

.login-layer-container {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: white;
}

.login-title {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50px;
}


#login-botton {
  background-color: #01a7e1;
  color: white;
  text-align: center;
  width: 60px;
  font-size: 20px;
  padding: 3px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.username-input, .userpasswd-input {
  margin-top: 20px;
  width: 200px;
  margin-left: 50px;
}

.username-input-container, .userpasswd-input-container {
  width: 100%;  
}


.input-form-container {
  background-color: white;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
}

.chat-image {
  max-width: 100px;
}


.img-viewer-layer {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: transparent;
  z-index: 10;
}

.img-viewer-contaner {
  position: absolute;
  width: 600px;
  height: 500px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: #333333;
}

.img-show {
  margin: auto;
  max-width: 500px;
  max-height: 500px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.img-viewer-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: white;
}


.clipboard-container {
  position: absolute;
  top: 40px;
}

.clip-container, .add-clip-container {
  border: 1px solid grey;
  border-radius: 5px;
  display: inline-block;
  margin: 5px;
  max-width: 150px;
}

.clip-button {
  overflow: hidden;
  white-space: nowrap; 
  max-width: 150px;
  text-overflow: ellipsis;
}

.clip-delete-button {
  margin-left: 10px;
  color: #007a62;
}